package cn.itcast.bos.service.base.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.itcast.bos.dao.base.TakeTimeRepository;
import cn.itcast.bos.domain.base.TakeTime;
import cn.itcast.bos.service.base.TakeTimeService;

/**
 * 排班的业务实现类
 * 
 * @author 王文杰
 * @version 1.0, 2017-9-9 19:41:15
 */
@Service
@Transactional
public class TakeTimeServiceImpl implements TakeTimeService {

	/** 注入dao */
	@Autowired
	private TakeTimeRepository takeTimeRepository;

	/**
	 * @see cn.itcast.bos.service.base.TakeTimeService#findAll()
	 */
	@Override
	public List<TakeTime> findAll() {

		return takeTimeRepository.findAll();
	}
}
